<?php
$menu = [
    [
        'name' => '后台首页',
        'icon' => 'mdi-home',
        'op'=>'Index',
        'act'=>'index',
        'child'=>[]
    ],
    [
        'name' => '店铺管理',
        'icon' => 'mdi-store',
        'op'=>'Store',
        'child'=>[
            ['name'=>'店铺设置','op'=>'Store','handle'=>'setting','act'=>'setting','group'=>'store'],
            ['name'=>'我的资金','op'=>'Store','handle'=>'account_log','act'=>'account_log','group'=>'store'],
            ['name'=>'提现记录','op'=>'Store','handle'=>'withdraw_list|withdraw','act'=>'withdraw_list','group'=>'store'],
//            ['name'=>'店铺关注','op'=>'Store','handle'=>'store_collect','act'=>'store_collect','group'=>'store'],
            ['name'=>'账号日志','op'=>'Store','handle'=>'store_log','act'=>'store_log','group'=>'store'],
        ]
    ],
    [
        'name' => '商品管理',
        'icon' => 'mdi-shopping',
        'op'=>'Goods',
        'child'=>[
            ['name'=>'商品列表','op'=>'Goods','handle'=>'goods_list|add_edit_goods','act'=>'goods_list','group'=>'goods'],
//            ['name'=>'商品评论','op'=>'Goods','handle'=>'goods_comment_list','act'=>'goods_comment_list','group'=>'goods'],
            ['name'=>'认养商品','op'=>'Goods','handle'=>'foster_goods_list|add_edit_foster_goods','act'=>'foster_goods_list','group'=>'goods'],
        ]
    ],
    [
        'name' => '订单管理',
        'op'=>'Order',
        'icon' => 'mdi-content-paste',
        'child'=>[
            ['name'=>'订单列表','handle'=>'index|order_detail','op'=>'Order','act'=>'index','group'=>'order'],
            ['name'=>'认养订单','handle'=>'foster_index|foster_order_detail','op'=>'Order','act'=>'foster_index','group'=>'order'],
        ]
    ],
    [
        'name' => '数据管理',
        'icon' => 'mdi-database',
        'op'=>'Report',
        'child'=>[
            ['name'=>'销售概况','handle'=>'index|sale_order','op'=>'Report','act'=>'index','group'=>'count'],
            ['name'=>'销售排行','handle'=>'sale_top','op'=>'Report','act'=>'sale_top','group'=>'count'],
            ['name'=>'会员排行','handle'=>'user_top|user_order','op'=>'Report','act'=>'user_top','group'=>'count'],
            ['name'=>'销售明细','handle'=>'sale_list','op'=>'Report','act'=>'sale_list','group'=>'count'],
        ]
    ],
];
return $menu;
